NAME EXEHEX - A Microsoft EXE to Intel HEX file converter SYNOPSIS EXEHEX [-d][-N][-H][-?][-Sxxxx][-Oyyyy] exefile [hexfile] DESCRIPTION EXEHEX is a utility that takes linked EXE files and converts them into HEX files suitable for programming EPROMS. EXEHEX performs just like the MSDOS loader program. It processes the EXE files relocation table by adding the segment value presented with the -Sxxxx option to each segment value in the program that needs relocation. -d turns on some debug print messages, should be first option on line. -N prevents the outputting of an Intel HEX End Record. -H or -? causes a help reference to be printed on stderr. -Sxxxx causes an Intel Hex Extended Address Record to be made with segment "xxxx" as its start value. xxxx must be a hex number in paragraphs (phys address/16). The default value of -S is 0000H. The value presented in the -S option is also used as the start segment in relocating the relocation table items found in the EXE file. -Oyyyy causes all hex records to be offset by yyyy hex bytes. The default value for -O is 0000H. This option is not usually used, or needed. exefile is a standard MSDOS exe file used as input. hexfile is the optional output file. If hexfile is not present, the output will go to stdout. SEE ALSO Microsoft Reference documentation on MASM and LINK BUGS This program won't convert just any application program to a working EPROM, as it doesn't handle data segments very well.